package com.example.workbench.service;

import com.example.vo.PaginationVO;
import com.example.workbench.domain.Activity;

import java.util.List;
import java.util.Map;

public interface ActivityService {
    boolean save(Activity a);

    PaginationVO<Activity> pageList(Map<String, Object> map);

    Boolean delete(String[] ids);

    Map<String, Object> getUserAndActivity(String id);

    boolean update(Activity a);

    Activity detail(String id);

    List<Activity> getActivityListById(String clueId);

    List<Activity> getActivityListByNameAndNotByClueId(Map<String, String> map);

    List<Activity> getActivityListByName(String aname);
}
